package com.example.springboot_zc.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.springboot_zc.pojo.Class;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface classMapper extends BaseMapper<Class> {

    /*@Select("select * from class")
    public List<Class> getAllClass();*/
@Delete("delete from class where stu_num=#{stuNum}")
    public void deleteByStu(String stuNum);

}
